Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add mocks for Country and Countries response for AF Locale #1314

Conversation

TayKangSheng
Copy link
Contributor

@TayKangSheng TayKangSheng commented Mar 9, 2020

Description

CountryService api has updated and allow for all locales supported by ShopifyI18n. For locales that is not supported by CountryDb, CountryService will default to english and return a LOCALE_UNSUPPORTED error with the data in en.

Therefore this PR adds more mocks for locales that will return both data in en with LOCALE_UNSUPPORTED error. This PR is a continuation from #1313. Ensure that the PR is merged before this PR.

Context

The context of why this PR is started is to fix https://github.com/Shopify/intl-china#110, and this PR is extracted and part of #1301 because of the need to release multiple packages in order.

Type of change

  • @shopify/address-mocks Minor: New feature (non-breaking change which adds functionality)

Checklist

  • I have added a changelog entry, prefixed by the type of change noted above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant